package com.zpy.playground.redisTest.lettuceConfig;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@ConfigurationProperties(prefix = "spring.redis.cluster-mode.dayu")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RedisClusterDayuConfiguration {
    private List<String> nodes;
    private Integer maxRedirects;
    private Integer timeout;
    private Lettuce lettuce;
    private Integer redisClusterTopologyRefreshPeriodMillis;
}
